import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'MovieRoom',
        component:()=>import('../components/MovieRoom.vue'),
    },
    {
        path: '/room',
        name: 'Room',
        component:()=>import('../components/Room.vue'),
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router;
